import { createApp } from 'vue'

import App from './App.vue'
import pinia from './stores'
import router from './router'

// 在main.css之前引入，后面需要去覆盖vant
import 'vant/lib/index.css'
import './styles/main.scss'

import 'virtual:svg-icons-register'
import './assets/fontFamily/font.css'
import { useDict } from './utils/dict'
//复制功能
import { VueClipboard } from '@soerenmartius/vue3-clipboard';

const app = createApp(App)
app.config.globalProperties.useDict = useDict
app.config.globalProperties.$router = router

app.use(VueClipboard)
app.use(pinia)
app.use(router)

app.mount('#app')
